package org.bangumibuddy.service;

import org.bangumibuddy.pojo.DownloadInfo;
import org.bangumibuddy.pojo.TorrentFile;

import java.util.List;

public interface DownloadService {
    boolean addDownloadTasks(List<TorrentFile> torrentFiles);

    List<DownloadInfo> getDownloadInfoByHashes(List<String> hashes);
    boolean pause(String hash);
    boolean resume(String hash);
}
